import 'package:flutter/material.dart';

class LoadingWidget extends StatefulWidget{
  @override
  State<StatefulWidget> createState() => LoadingWidgetState();
}

class LoadingWidgetState extends State{
  @override
  Widget build(BuildContext context) {
    return Center(
      child: Padding(
        padding: EdgeInsets.all(10.0),
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            CircularProgressIndicator(strokeWidth: 1.0),
            Text('加载中...',style: TextStyle(fontSize: 16)),
          ],
        ),
      ),
    );
  }
}